/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.model.daos;

import java.util.List;

/**
 *
 * @author Lucas
 */
public abstract class GenericDAO<T> {

    public abstract void addEntity(T entity);

    public abstract int updateEntity(T entity);

    public abstract T getEntity(int primaryKey);

    public abstract int removeEntity(int primaryKey);

    public abstract List<T> getAllEntitys();
}
